#!/bin/bash
#!/bin/bash

#java -jar Grades.jar 100 100
#java -jar Grades.jar 70 60 
#java -jar Grades.jar 80 100
#java -jar Grades.jar 50 40
#java -jar Grades.jar 80 20 

if [java -jar Grades.jar 100 100 == "pass"];
then echo "this is a pass"
else "this is a fail"

if [java -jar Grades.jar 70 60 == "pass"];
then echo "this is a pass"
else "this is a fail"

if [java -jar Grades.jar 80 100 == "pass with distinction"];
then echo "this is a pass with distinction"
else "this is a fail"


if [java -jar Grades.jar  50 40 == "fail"];
then echo "This is a fail"
else "this is a pass"

if  [java -jar Grades.jar 80 20 =="pass"];
then echo "this is a pass"
else "this is a fail"

fi
